#include "Entity.h"

Entity::Entity()
: m_fitnessValue(0)
{

}

Entity::~Entity()
{

}

void Entity::SetGenome(std::vector<Genome> a_genomes)
{
	m_genomes = a_genomes;
}

void Entity::SetFitness(float a_fitness)
{
	m_fitnessValue = a_fitness;
}

Genome Entity::GetGenome(int a_key) const
{
	return m_genomes[a_key];
}

float Entity::GetFitness() const
{
	return m_fitnessValue;
}

std::vector<Genome> Entity::GetAllGenomes() const
{
	return m_genomes;
}
